Relationship between phi and state
Overlay phi and state
## Source: local data frame [17 x 5]
## Groups: Unit, Areakm2 [8]
##
## Unit Areakm2 Year Krill Density
## <fctr> <dbl> <fctr> <dbl> <dbl>
## 1 Bransfield Strait East 28316.91 1980-2009 39365.1770 1.390165e+00
## 2 Bransfield Strait East 28316.91 2009-2016 66267.4220 2.340207e+00
## 3 Bransfield Strait West 22505.23 1980-2009 39109.4540 1.737794e+00
## 4 Bransfield Strait West 22505.23 2009-2016 334129.5481 1.484675e+01
## 5 Drake Passage East 16679.78 1980-2009 200773.1174 1.203692e+01
## 6 Drake Passage East 16679.78 2009-2016 29296.7391 1.756423e+00
## 7 Drake Passage West 16067.73 1980-2009 515394.5366 3.207638e+01
## 8 Drake Passage West 16067.73 2009-2016 60794.8695 3.783663e+00
## 9 Drake Passage West 16067.73 NA 52.0590 3.239973e-03
## 10 AP East 57248.36 1980-2009 4551.0500 7.949660e-02
## 11 Elephant Island 36693.83 1980-2009 316615.9470 8.628589e+00
## 12 Elephant Island 36693.83 2009-2016 3721.3692 1.014168e-01
## 13 AP Pelagic Area 441721.50 1980-2009 60383.9770 1.367015e-01
## 14 AP Pelagic Area 441721.50 2009-2016 848.3244 1.920496e-03
## 15 AP Pelagic Area 441721.50 NA 16.7160 3.784285e-05
## 16 AP West 37218.83 1980-2009 9645.8810 2.591667e-01
## 17 AP West 37218.83 2009-2016 56013.8708 1.504987e+00
True time per unit
Given the number of observations in each unit, which are being disproportionately used for foraging?
Steps * Randomize labels of foraging and traveling at each observation * Calculate the total time foraging and traveling in each unit * Compare this null distribution to the observed value
Observed values
## Type Size PrettySize Rows Columns
## pc tbl_df 598231464 [1] "570.5 Mb" 11490000 10
## a tbl_df 157774144 [1] "150.5 Mb" 3944000 7
## data list 80981360 [1] "77.2 Mb" 10 NA
## argos array 39720952 [1] "37.9 Mb" 33 20
## obs array 39720952 [1] "37.9 Mb" 33 20
## argos_class array 19867968 [1] "18.9 Mb" 33 20
## j array 19867968 [1] "18.9 Mb" 33 20
## obs_class array 19867968 [1] "18.9 Mb" 33 20
## mdat data.frame 16339200 [1] "15.6 Mb" 49859 47
## temp ggmap 13116528 [1] "12.5 Mb" 1280 1280
## used (Mb) gc trigger (Mb) max used (Mb)
## Ncells 1693469 90.5 3886542 207.6 3886542 207.6
## Vcells 136618826 1042.4 298864534 2280.2 298863716 2280.2